home *** CD-ROM | disk | FTP | other *** search
/ Agent Central Host Computer / Agent - Central Host Computer.iso / _SETUP.1 / rteusage.sql < prev    next >
Text File  |  2000-05-12  |  2KB  |  39 lines

  1. /* RCSVER $Id: rteusage.sql,v 1.2 2000-01-25 16:38:19-06 randy Exp $ */
  2. /* *************************************************************************
  3. *        Copyright (C) 1998, Agent Systems, Inc. All Rights Reserved.
  4. *
  5. * Name:        rteusage.sql
  6. * Date:        07/12/1999
  7. * memo:        Randy Wood
  8. * Description:    Create the rteusage table. This table contains parameters
  9. *        for the usage of routes/runs/trips.
  10. * Changes:
  11. ************************************************************************* */
  12. CREATE TABLE rteusage
  13. (
  14.     useflag        NUMBER(1),    /* 1=use route/run as unique segment */
  15.                     /*   identifier */
  16.                     /* 2=use run/trip as unique segment */
  17.                     /*   identifier */
  18.     dir1flag    NUMBER(1),    /* 1=dir1 is entered as a text field */
  19.                     /* 2=dir1 is selected from the dir1list table */
  20.     dir2flag    NUMBER(1),    /* 1=dir2 is entered as a text field */
  21.                     /* 2=dir2 is selected from the dir2list table */
  22.     rtegen        NUMBER(1),    /* 0=use all trips to generate the ROUTE.FBD file */
  23.                     /* 1=use dir1list.useflag as selection criteria for */
  24.                     /*   ROUTE.FBC */
  25.                     /* 2=use dir2list.useflag as selection criteria for */
  26.                     /*   ROUTE.FBC */
  27.                     /* 3=use both dir1list and dir2list2 */
  28.     notinlist    NUMBER(1),    /* If rtegen != 0, this flag specifies how */
  29.                     /* to handle directions that are not found */
  30.                     /* in dir1list or dir2list: */
  31.                     /* 0=do not use in ROUTE.FBC */
  32.                     /* 1=use in ROUTE.FBC */
  33.     dir1name    VARCHAR2(20),    /* Label for the Direction 1 field */
  34.     dir2name    VARCHAR2(20),    /* Label for the Direction 2 field */
  35.     route_name    VARCHAR2(10),    /* Label for route */
  36.     run_name    VARCHAR2(10),    /* Label for run */
  37.     trip_name    VARCHAR2(10)    /* Label for trip */
  38. );
  39.